home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Reference Guide / C-C++ Interactive Reference Guide.iso / c_ref / clesson / c.dir / 00334_Bitmap_t1.pcx (.png) < prev    next >
Bitmap Image  |  1995-04-05  |  127KB  |  549x228  |  4-bit (13 colors)
Labels: text | screenshot | font
OCR: The first argument to open( ) is a file name; the second argument specifies how the file is to be opened. If there are no errors, the function returns a file descriptor; otherwise, the value -1 is returned. The identifier in_fd is mnemonic for "in file descriptor." On our system, the symbolic constant O_RDONLY is given in fcntl.h. It is mnemonic for "open for reading only."